package test;

import java.util.List;

import Utils.SecurityUtils;
import dao.Jingdong_classDao;
import dao.Jingdong_productDao;
import dao.impl.Jingdong_classDaoImpl;
import entity.Jingdong_class;
import entity.Jingdong_product;
import entity.Jingdong_product_category;
import entity.Jingdong_user;
import service.Jingdong_productService;
import service.Jingdong_product_categoryService;
import service.Jingdong_userService;
import service.impl.Jingdong_productServiceImpl;
import service.impl.Jingdong_product_categoryServiceImpl;
import service.impl.Jingdong_userServiceImpl;

public class test {
	public static void main(String[] args) {
		//Jingdong_userService jService = new Jingdong_userServiceImpl();
		//Jingdong_product_categoryService jpcS = new Jingdong_product_categoryServiceImpl();
		Jingdong_productService jsP = new Jingdong_productServiceImpl();
		List<Jingdong_product> ss = jsP.listProduct();
		for (Jingdong_product jingdong_product : ss) {
			System.out.println(jingdong_product.goodsType);
		}
		//List<Jingdong_product_category> s = jpcS.categoryList();
		//for (Jingdong_product_category jingdong_product_category : s) {
			//System.out.println(jingdong_product_category.attachment);
	//	}
		//Jingdong_classDao jingdong_classDao = new Jingdong_classDaoImpl();
//		String loginName = "血爆铠甲";
//		String passWord = SecurityUtils.md5Hex3("1230456.");
//		int i = jService.loginOnly(loginName, passWord);
//		System.out.println(i);
	}
}
